package com.bianguo.android.apushdemo.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.bianguo.android.apushdemo.entity.IOrderData;

import java.util.List;

/**
 * Created by Administrator on 2018/7/2.
 */

public class OrderAdapter extends BaseRecyclerAdapter<IOrderData> {

    public OrderAdapter(Context mContext, List<IOrderData> list) {
        super(mContext, list);
    }

    @Override
    public BaseViewHolder createHolder(ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public int getItemViewType(int position) {
        return super.getItemViewType(position);
    }

    @Override
    public void bindHolder(BaseViewHolder holder, int position) {
        IOrderData orderData = list.get(position);
        orderData.bindHolder(holder, position);
    }
}
